package com.dhsc.controller.ywjk.qywjh.jhlxwh;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.dhsc.domain.jkzx.ywjk.qywjh.jhlxwh.TjkYclxRyglVo;
import com.dhsc.domain.jkzx.ywjk.qywjh.jhlxwh.TjkYclxSqlVo;
import com.dhsc.domain.jkzx.ywjk.qywjh.jhmxxx.TjkYclxVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.ywjk.qywjh.jhlxwh.IJhlxcsService;

/**
 * @ClassName: JhlxcsController
 * @Description: 稽核类型参数
 * @Author: jwj
 * @Date: 2023/11/7 10:52
 */
@Controller
@RequestMapping("/ywjk/qywjh/jhlxwh")
public class JhlxcsController {

    @Autowired
    private IJhlxcsService jhlxcsService;


    /**
     * @Description: 查询稽核类型参数信息
     * @MessageName:queryJhlxcs
     * @Param:  tjkYclxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/7 15:39
     */
    @ResponseBody
    @RequestMapping(value="/queryJhlxcs")
    public LayuiTableVo queryJhlxcs(TjkYclxVo tjkYclxVo){
        return jhlxcsService.queryJhlxcs(tjkYclxVo);
    }

    /**
     * @Description: 稽核类型参数更新
     * @MessageName:Jhlxcsgx
     * @Param: tjkYclxVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/20 16:43
     */
    @RequestMapping(value="/jhlxcsgx")
    @ResponseBody
    public ResponseObject jhlxcsgx(TjkYclxVo tjkYclxVo)
    {
        return jhlxcsService.jhlxcsgx(tjkYclxVo);
    }

    /**
     * @Description: 根据wbbh查询人员信息表格
     * @MessageName:queryRyxxByWbbh
     * @Param: tjkYclxRyglVo
     * @return: LayuiTableVo
     * @Author: jwj
     * @Date: 2023/11/21 16:57
     */
    @RequestMapping(value="/queryRyxxByWbbh")
    @ResponseBody
    public LayuiTableVo queryRyxxByWbbh(TjkYclxRyglVo tjkYclxRyglVo)
    {
        return jhlxcsService.queryRyxxByWbbh(tjkYclxRyglVo);
    }

    /**
     * @Description: 人员选择下拉查询
     * @MessageName:queryRyxzInfo
     * @Param:
     * @return: LayuiTableVo
     * @Author: jwj
     * @Date: 2023/11/21 17:01
     */
    @RequestMapping(value="/queryRyxzInfo")
    @ResponseBody
    public ResponseObject queryRyxzInfo()
    {
        return jhlxcsService.queryRyxzInfo();
    }

    /**
     * @Description: 新增人员信息
     * @MessageName:addRyxx
     * @Param:tjkYclxRyglVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/22 10:17
     */
    @RequestMapping(value="/addRyxx")
    @ResponseBody
    public ResponseObject addRyxx(TjkYclxRyglVo tjkYclxRyglVo)
    {
       return jhlxcsService.addRyxx(tjkYclxRyglVo);
    }

    /**
     * @Description: 修改人员信息
     * @MessageName:updateRyxx
     * @Param: tjkYclxRyglVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/22 10:19
     */
    @RequestMapping(value="/updateRyxx")
    @ResponseBody
    public ResponseObject updateRyxx(TjkYclxRyglVo tjkYclxRyglVo)
    {
        return jhlxcsService.updateRyxx(tjkYclxRyglVo);
    }

    /**
     * @Description: 删除人员信息
     * @MessageName:delRyxx
     * @Param: tjkYclxRyglVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/22 10:19
     */
    @RequestMapping(value="/delRyxx")
    @ResponseBody
    public ResponseObject delRyxx(TjkYclxRyglVo tjkYclxRyglVo)
    {
        return jhlxcsService.delRyxx(tjkYclxRyglVo);
    }

    /**
     * @Description: 根据wbbh查询SQL信息
     * @MessageName:querySqlxxByWbbh
     * @Param: tjkYclxRyglVo
     * @return: LayuiTableVo
     * @Author: jwj
     * @Date: 2023/11/22 15:46
     */
    @RequestMapping(value="/querySqlxxByWbbh")
    @ResponseBody
    public LayuiTableVo querySqlxxByWbbh(TjkYclxSqlVo tjkYclxSqlVo)
    {
        return jhlxcsService.querySqlxxByWbbh(tjkYclxSqlVo);
    }

    /**
     * @Description: 新增SQL信息
     * @MessageName:addSqlxx
     * @Param: tjkYclxSqlVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/22 16:08
     */
    @RequestMapping(value="/addSqlxx")
    @ResponseBody
    public ResponseObject addSqlxx(TjkYclxSqlVo tjkYclxSqlVo)
    {
        return jhlxcsService.addSqlxx(tjkYclxSqlVo);
    }

    /**
     * @Description: 修改SQL信息
     * @MessageName:updateSqlxx
     * @Param: tjkYclxSqlVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/22 16:08
     */
    @RequestMapping(value="/updateSqlxx")
    @ResponseBody
    public ResponseObject updateSqlxx(TjkYclxSqlVo tjkYclxSqlVo)
    {
       return jhlxcsService.updateSqlxx(tjkYclxSqlVo);
    }

    /**
     * @Description: 删除SQL信息
     * @MessageName:delSqlxx
     * @Param: tjkYclxSqlVo
     * @return: ResponseObject
     * @Author: jwj
     * @Date: 2023/11/22 16:09
     */
    @RequestMapping(value="/delSqlxx")
    @ResponseBody
    public ResponseObject delSqlxx(TjkYclxSqlVo tjkYclxSqlVo)
    {
       return jhlxcsService.delSqlxx(tjkYclxSqlVo);
    }
}
